<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>多图文消息列表</title>
	<link rel="shortcut icon" type="image/ico" href="${basePath}/favicon.ico?v=1"/>
	<link rel="stylesheet" type="text/css" href="${basePath}/css/style-1.css" />
	<link rel="stylesheet" type="text/css" href="${basePath}/css/style_2_common.css" />
	<link rel="stylesheet" type="text/css" href="${basePath}/css/more_img.css" />
	<script type="text/javascript" src="${basePath}/js/jquery-1.8.3.min.js"></script>
	<link rel="stylesheet" type="text/css" href="${basePath}/js/layer/skin/layer.css" />
    <script type="text/javascript" src="${basePath}/js/layer/layer.m.js"></script>
</head>
<body id="nv_member" class="pg_CURMODULE">
<#assign current='menu_mul'>
	<div id="wp" class="wp">
		<#include "/include/header.html"/>
		<!--中间内容-->
		<div class="contentmanage">
			<div class="developer">
				<div class="tableContent">
					<#include "/include/left.html"/>
					<#include "/include/wxtop.html"/>
					<div class="content">
						<div class="cLineB">
							<h4 style="font-size:16px;">多图文回复</h4>
							<div class="clr"></div>
						</div>
						<div class="msgWrap form">
							<ul style="width: 100%" id="tags">
								<li><a href="${basePath}/admin/mul/index">添加多图文回复</a></li>
								<li class="selectTag"><a href="${basePath}/admin/mul/list">多图文回复列表</a></li>
								<div style="height: 1px; background: #eee; margin-bottom: 20px;" class="clr"></div>
							</ul>
						</div>
						<table width="100%" cellspacing="0" cellpadding="0" border="0" class="ListProduct">
							<thead>
								<tr>
									<th style="width:10%;">编号</th>
									<th style="width:40%;">关键词</th>
									<th>绑定图文消息标题</th>
									<th style="width:100px;">操作</th>
								</tr>
							</thead>
							<tbody>
							<#if page?exists>
							<#list page.recordList as bean>
								<tr valign="top">
									<td valign="middle">${bean_index+1}</td>
									<td valign="middle" title="${bean.keyword?default('')}">${bean.keyword?default('')}</td>
									<td>
										<ul class="title_list">
											<#if bean.pics?exists>
											<#list bean.pics as pic>
											<li title="${pic.title?default('')}"><#if pic.title?exists && pic.title?length gt 15>${pic.title[0..15]}…<#else>${pic.title?default('')}</#if> <a style="color: rgb(30, 137, 253)" href="${basePath}/admin/pic/edit?id=${pic.id?default(0)}&wxid=${pic.wxid?default('')}">编辑</a></li>
											</#list>
											</#if>
										</ul>
									</td>
									<td valign="middle" class="norightborder"><a href="javascript:deleteItem('${bean.id?default(0)}');">删除</a></td>
								</tr>
							</#list>
							</#if>
							</tbody>
						</table>
						
						<#assign formUrl="${basePath}/admin/mul/list?">
						<#include "include/pagination.html"/>
					</div>
					<div class="clr"></div>
				</div>
			</div>
		</div>
		<!--底部-->
	</div>
	<#include "/include/footer.html"/>
	
	<script type="text/javascript">
		function deleteItem(id){
			layer.confirm("确定要删除吗？",
			{icon: 4, title:'确认信息'},
			function(index){
				layer.close(index);
				window.location.href="${basePath}/admin/mul/del?id="+id;
			},function(index){
				layer.close(index);
			});
		}	
	</script>
</body>
</html>